package com.sigmatrix.h5.utils;
/**
 * 
 *@ClassName: Constants
 *@Description: 常量
 *@author MH
 *@date 2017年9月22日 下午1:35:08
 */
public class Constants {
	/**
	 * success
	 */
	public static final String DATA_SUCCESS = "200";
	/**
	 * fail
	 */
	public static final String DATA_FAILURE = "300";
	
	public static final String PARAM_ERROR = "400";
	
	/**删除状态,-1-删除,0-停用,1-启用*/
	public static final short STATUS_DELETE = -1;
	
	/**禁用状态,-1-删除,0-停用,1-启用*/
	public static final short STATUS_DISABLE = 0;
	
	/**启用状态,-1-删除,0-停用,1-启用*/
	public static final short STATUS_ENABLE = 1;
	
	/**
	 * 返利活动状态 发布
	 */
	public static final short STATUS_NO_START = 3;
	
	/**
	 * 返利类型 1及时返利
	 */
	public static final short REBATE_TYPE_IMMEDIATE = 1;
	/**
	 * 返利类型 2提现
	 */
	public static final short REBATE_TYPE_WIDTH_DRAW = 2;
	/**
	 * 返利类型 3渠道分红
	 */
	public static final short REBATE_TYPE_BONUS = 3;
	/**
	 * 红包类型 1裂变
	 */
	public static final Integer RED_PACKET_TYPE_SPLIT = 1;
	/**
	 * 红包类型 2 普通
	 */
	public static final Integer RED_PACKET_TYPE_COMMON = 2;
	/**
	 * redis默认超时时间（小时）
	 */
	public static final long REDIS_DEFAULT_EXPIRE_HOURS = 7*24;
	
	/**
	 * 码类型 1箱码
	 */
	public static final short CODE_TYPE_X = 1;
	/**
	 * 码类型 2 盒码
	 */
	public static final short CODE_TYPE_B = 2;
	/**
	 * 码类型 3 单品码
	 */
	public static final short CODE_TYPE_D = 3;
	
	/**
	 * 注册审核 
	 * 应用类型：1-新增账户，2-新增经销商，3-新增门店
	 */
	public static final short APPLY_TYPE_ACCT = 1;
	public static final short APPLY_TYPE_DEALER = 2;
	public static final short APPLY_TYPE_STORE = 3;
	
	public static final short TERMINAL_SHOP_STATUS_NO_AUDIT = 2; 
}
